# app/models/system/dict.py
from sqlalchemy import Column, Integer, String, DateTime, BigInteger
from application.models.base import Base


class SysDictType(Base):
    """
    字典表模型
    """

    __tablename__ = "sys_dict_type"

    # 字典主键
    dict_id = Column(BigInteger, primary_key=True, comment="字典主键")

    # 租户编号
    tenant_id = Column(String(20), default="000000", comment="租户编号")

    # 字典名称
    dict_name = Column(String(100), default="", comment="字典名称")

    # 字典类型
    dict_type = Column(String(100), default="", comment="字典类型")


    # 表注释
    __table_args__ = {"comment": "字典类型表"}
